﻿using System;
using System.Web;
using System.Net.Mail;
using System.Web.UI;
using SimplePMT.Data;
using SimplePMT.Control;
using System.Text;
using System.Collections.Generic;
using Castle.ActiveRecord;
using NHibernate.Expression;
using SimplePMT.Components;

namespace SimplePMT
{
    public partial class AdminSelectUser : Components.BasePage
    {
        public string viewRendered = string.Empty;

        protected void Page_Load(object sender, EventArgs e)
        {
            AjaxPro.Utility.RegisterTypeForAjax(typeof(AdminSelectUser), this.Page);
            ValidateSession();
            Control.AdminSelectAccountControl view = this.LoadControl("./Control/AdminSelectAccountControl.ascx") as Control.AdminSelectAccountControl;
            view.AdminAccess = AdminAccess;
            viewRendered = view.ToString();
        }
    }
}
